package com.ruoyi.leave.service;

import java.util.List;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.leave.domain.LeaveApply;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.leave.domain.vo.LeaveCount;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 请假申请Service接口
 * 
 * @author ruoyi
 * @date 2024-09-24
 */
public interface ILeaveApplyService extends IService<LeaveApply>
{

    public List<LeaveCount> listCount(LeaveApply leaveApply);

    public AjaxResult listCourse(Long applyId);

    public AjaxResult countFdyUnAudit();

    public AjaxResult doAudit( LeaveApply param);

    public AjaxResult cancelApply(Long id);

    public AjaxResult getOwnApply( Long id);

    public List<LeaveApply> listView(LeaveApply leaveApply);


    public AjaxResult doApply( LeaveApply param);


    /**
     * 查询请假申请列表
     * 
     * @param leaveApply 请假申请
     * @return 请假申请集合
     */
    public List<LeaveApply> queryList(LeaveApply leaveApply);

}
